Skip to content

Conversation

@hzaidi05
Copy link

@hzaidi05 hzaidi05 commented Jan 5, 2026

Description

Closes #5405

#6035 added an NVRTC-specific diagnostic to the CUB umbrella header (cub/cub.cuh), but confusing NVRTC compilation failures can still occur when including other public CUB headers that are incompatible with NVRTC. This PR extends similar diagnostics to additional public CUB headers that rely on host-side functionality and are therefore unsupported when compiling with NVRTC.

Checklist

@hzaidi05 hzaidi05 requested a review from a team as a code owner January 5, 2026 11:40
@hzaidi05 hzaidi05 requested a review from elstehle January 5, 2026 11:40
@github-project-automation github-project-automation bot moved this to Todo in CCCL Jan 5, 2026
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Jan 5, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Jan 5, 2026
@hzaidi05 hzaidi05 changed the title Add NVRTC compatibility warnings to CUB headers Add NVRTC compatibility errors to CUB headers Jan 5, 2026
Copy link
Contributor

@bernhardmgruber bernhardmgruber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one suggestion

@bernhardmgruber
Copy link
Contributor

/ok to test 09dc4c1

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@bernhardmgruber bernhardmgruber enabled auto-merge (squash) January 7, 2026 19:28
@github-actions

This comment has been minimized.

@hzaidi05
Copy link
Author

@bernhardmgruber it looks like the NVHPC checks on AMD runners did not complete but the rest seem to be fine. Should we try re-running?

@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link
Contributor

😬 CI Workflow Results

🟥 Finished in 10d 05h: Pass: 2%/95 | Total: 5d 04h | Max: 5h 00m | Hits: 5%/5651

See results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

[FEA]: Headers that don't support NVRTC should emit diagnostic

2 participants